import Taro from '@tarojs/taro'
import devConfig from '../../config/dev'
import prodConfig from '../../config/prod'

// 根据当前环境选择配置
const ENV_CONFIG = process.env.NODE_ENV === 'development' ? devConfig : prodConfig

// 导出环境变量
export const BASE_URL = ENV_CONFIG.BASE_URL

console.log(`当前环境: ${process.env.NODE_ENV}`) 